
// MFC_DemoDlg.h : header file
//

#pragma once
#include "UIManager.h"
#include "UIFrame.h"
#include "UIHookWindow.h"
#include "UIButton.h"
#include "UICaptionButton.h"


#pragma comment(lib,"E:\\Project\\CoolUI\\Debug\\CoolUI.lib")

// CMFC_DemoDlg dialog
class CMFC_DemoDlg : public CDialogEx
{
// Construction
public:
    CMFC_DemoDlg( CWnd* pParent = NULL );	// standard constructor

// Dialog Data
    enum { IDD = IDD_MFC_DEMO_DIALOG };

protected:
    virtual void DoDataExchange( CDataExchange* pDX );	// DDX/DDV support


// Implementation
protected:
    HICON m_hIcon;

    // Generated message map functions
    virtual BOOL OnInitDialog();
    afx_msg void OnSysCommand( UINT nID, LPARAM lParam );
    afx_msg void OnPaint();
    afx_msg HCURSOR OnQueryDragIcon();
    DECLARE_MESSAGE_MAP()

private:
    CUIFrame* pFrame;
    CUIButton* pBtn1;
public:
    afx_msg void OnClose();
};
